const about = require("../dao/aboutDao");

//设置关于页面
const setAbout = async (url) => {
  await about.setAbout(url);

  return url.url;
};

//获取关于页面
const getAbout = async () => {
  const data = await about.getAbout();
  return data.url;
};

module.exports = {
  setAbout,
  getAbout,
};
